using System;
using System.Collections.Generic;

namespace InvestmentIntelligence.DbModel.Models
{
    public class Role
    {
        public Role()
        {
            this.User2Role = new List<User2Role>();
        }

        public int Id { get; set; }
        public string Title { get; set; }
        public Nullable<int> EntityId { get; set; }
        public string Description { get; set; }
        public virtual Entity Entity { get; set; }
        public virtual ICollection<User2Role> User2Role { get; set; }
    }
}
